package com.yfqy.app.domain.mapper;

import com.yfqy.app.domain.entity.CustomerFundAccount;
import org.apache.ibatis.annotations.Param;

public interface CustomerFundAccountMapper {

    int insert(CustomerFundAccount record);

    CustomerFundAccount selectByPrimaryKey(Long id);

    int updateCustomerFundAccountByWithdrawal(@Param("updateFundAccount") CustomerFundAccount updateFundAccount);

    CustomerFundAccount selectByCustomerId(@Param("customerId") Long customerId);

    CustomerFundAccount selectByCustomerIdForUpdate(@Param("customerId") Long customerId);
}